package com.zhsource.system.mapper;


import com.zhsource.system.domain.Employee;
import com.zhsource.system.domain.Logininfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LogininfoMapper {
    Logininfo loadUserByUsername(@Param("userName") String userName, @Param("type") String type);

    void insertOrUpdateLoginInfo(Logininfo logininfo);


    void deleteLoginInfo(Long id);

    void updateLoginInfo(Logininfo logininfo);

}
